/**
 * Created by Administrator on 2017/11/6.
 */
const path = require("path");
const htmlWebpackPulgin = require("html-webpack-plugin");
const  cleanWebpackPlugin = require("clean-webpack-plugin");

module.exports = {
    entry:'./src/index.js',
    plugins:[
        new cleanWebpackPlugin(),
        new htmlWebpackPulgin({
           title:"生成环境构造"
        })
    ],
    output:{
      filename:"[name].bundle.js",
      path:path.resolve(__dirname,'dist')
    }
};